<?php
require_once "db.php";

get_database_connection();

$id = $_REQUEST["id"];
$sql = "SELECT content FROM slides WHERE id = $id ORDER BY position ASC";
$query = mysql_query($sql);
$data = mysql_fetch_assoc($query);

echo $data["content"];
?>
